﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SnowDAL;

namespace Snow
{
    public partial class OperationLog : System.Web.UI.Page
    {
        private string _uid = string.Empty;

        private OperateDAL _dal = new OperateDAL();

        protected void Page_Load(object sender, EventArgs e)
        {
            _uid = Request.QueryString["uid"];

            Title = _uid + " LOG ";

            DataBindLog();
        }

        private void DataBindLog()
        {
            gvLog.DataSource = _dal.QueryOperate(_uid).DefaultView;
            gvLog.DataBind();
        }
    }
}